package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.UserSonglist;

@Repository
public interface UserSonglistDAO {
	public Set<UserSonglist> findAllUserSonglists();

	public Set<UserSonglist> findUserSonglistsByUserId(Integer userId);

	public Set<UserSonglist> findUserSonglistsBySonglistId(Integer songlistId);

	public Integer addUserSonglist(UserSonglist userSonglist);

	public Integer updateUserSonglistByUserId(UserSonglist userSonglist);

	public Integer updateUserSonglistBySonglistId(UserSonglist userSonglist);

	public Integer deleteUserSonglist(UserSonglist userSonglist);

	public Integer deleteUserSonglistByUserId(Integer id);

	public Integer deleteUserSonglistBySonglistId(Integer id);
}
